package it.koutifaris.travianmap.command;

import android.view.View;
import android.view.View.OnClickListener;

public class CommandOnClickListener implements OnClickListener {

	private final Command command;

	public CommandOnClickListener(Command command) {
		this.command = command;
	}

	@Override
	public void onClick(View v) {
		command.execute();
	}

}
